package com.cskaoyan.model.vx.vo;

import java.util.List;

/**
 * @description: TODO
 * @author: jiaolei
 * @date: 2021/12/2 16:03
 */
public class WxOrderListVo {


    /**
     * orderStatusText : 未付款
     * aftersaleStatus : 0
     * isGroupin : false
     * orderSn : 20211202431624
     * actualPrice : 194
     * goodsList : [{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/0984c9388a2c3fd2335779da904be393.png","price":199,"id":30,"goodsName":"色织精梳AB纱格纹空调被","specifications":["标准"]}]
     * id : 28
     * handleOption : {"cancel":true,"delete":false,"pay":true,"comment":false,"confirm":false,"refund":false,"rebuy":false,"aftersale":false}
     */

    private String orderStatusText;
    private int aftersaleStatus;
    private boolean isGroupin;
    private String orderSn;
    private int actualPrice;
    private int id;
    private Short orderStatus;
    private Short deleted;

    public Short getDeleted() {
        return deleted;
    }

    public void setDeleted(Short deleted) {
        this.deleted = deleted;
    }




    public boolean isGroupin() {
        return isGroupin;
    }

    public void setGroupin(boolean groupin) {
        isGroupin = groupin;
    }

    public Short getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Short orderStatus) {
        this.orderStatus = orderStatus;
    }

    private HandleOptionBean handleOption;
    private List<GoodsListBean> goodsList;

    public String getOrderStatusText() {
        return orderStatusText;
    }

    public void setOrderStatusText(String orderStatusText) {
        this.orderStatusText = orderStatusText;
    }

    public int getAftersaleStatus() {
        return aftersaleStatus;
    }

    public void setAftersaleStatus(int aftersaleStatus) {
        this.aftersaleStatus = aftersaleStatus;
    }

    public boolean isIsGroupin() {
        return isGroupin;
    }

    public void setIsGroupin(boolean isGroupin) {
        this.isGroupin = isGroupin;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public int getActualPrice() {
        return actualPrice;
    }

    public void setActualPrice(int actualPrice) {
        this.actualPrice = actualPrice;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public HandleOptionBean getHandleOption() {
        return handleOption;
    }

    public void setHandleOption(HandleOptionBean handleOption) {
        this.handleOption = handleOption;
    }

    public List<GoodsListBean> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<GoodsListBean> goodsList) {
        this.goodsList = goodsList;
    }

    public static class HandleOptionBean {
        /**
         * cancel : true
         * delete : false
         * pay : true
         * comment : false
         * confirm : false
         * refund : false
         * rebuy : false
         * aftersale : false
         */

        private boolean cancel;
        private boolean delete;
        private boolean pay;
        private boolean comment;
        private boolean confirm;
        private boolean refund;
        private boolean rebuy;
        private boolean aftersale;

        public boolean isCancel() {
            return cancel;
        }

        public void setCancel(boolean cancel) {
            this.cancel = cancel;
        }

        public boolean isDelete() {
            return delete;
        }

        public void setDelete(boolean delete) {
            this.delete = delete;
        }

        public boolean isPay() {
            return pay;
        }

        public void setPay(boolean pay) {
            this.pay = pay;
        }

        public boolean isComment() {
            return comment;
        }

        public void setComment(boolean comment) {
            this.comment = comment;
        }

        public boolean isConfirm() {
            return confirm;
        }

        public void setConfirm(boolean confirm) {
            this.confirm = confirm;
        }

        public boolean isRefund() {
            return refund;
        }

        public void setRefund(boolean refund) {
            this.refund = refund;
        }

        public boolean isRebuy() {
            return rebuy;
        }

        public void setRebuy(boolean rebuy) {
            this.rebuy = rebuy;
        }

        public boolean isAftersale() {
            return aftersale;
        }

        public void setAftersale(boolean aftersale) {
            this.aftersale = aftersale;
        }
    }

    public static class GoodsListBean {
        /**
         * number : 1
         * picUrl : http://yanxuan.nosdn.127.net/0984c9388a2c3fd2335779da904be393.png
         * price : 199
         * id : 30
         * goodsName : 色织精梳AB纱格纹空调被
         * specifications : ["标准"]
         */

        private int number;
        private String picUrl;
        private int price;
        private int id;
        private String goodsName;
        private String[] specifications;

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String[] getSpecifications() {
            return specifications;
        }

        public void setSpecifications(String[] specifications) {
            this.specifications = specifications;
        }
    }
}
